aboutsummaryrefslogtreecommitdiffstats
path: root/paredit [disowned]/paredit.install
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-11-23 21:50:57 +0100
committerMattias Andrée <maandree@kth.se>2017-11-23 21:50:57 +0100
commit5f15becca30a1ab7557851230a7e31d00aab9d8e (patch)
tree57d8f1fbae0e95a55763b21a6697b0017619da76 /paredit [disowned]/paredit.install
parentUpdate sha3sum (diff)
downloadaur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.gz
aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.bz2
aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.xz
Disown some packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'paredit [disowned]/paredit.install')
-rw-r--r--paredit [disowned]/paredit.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/paredit [disowned]/paredit.install b/paredit [disowned]/paredit.install
new file mode 100644
index 0000000..210acab
--- /dev/null
+++ b/paredit [disowned]/paredit.install
@@ -0,0 +1,17 @@
+post_install() {
+ cat << 'EOF'
+==> Put this in your $HOME/.emacs file to enable autoloading of paredit:
+
+(autoload 'paredit-mode "paredit"
+ "Minor mode for pseudo-structurally editing Lisp code." t)
+
+==> Toggle Paredit Mode with `M-x paredit-mode RET', or enable it
+==> always in a major mode `M' (e.g., `lisp' or `scheme') with:
+
+(add-hook M-mode-hook (lambda () (paredit-mode +1)))
+EOF
+}
+
+post_upgrade() {
+ post_install
+}